/**
 * 
 */
package org.minuzy.demo.service.imp;

import org.minuzy.demo.dao.UserDAO;
import org.minuzy.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author minuzy
 * 
 */
@Service("UserService")
public class UserServiceImp implements UserService {

	@Autowired
	private UserDAO userDAO;

	public int getUsernameLength(String username) {

		return userDAO.getLength(username);
	}

}
